<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            border-radius: 50%;
            width: 10px;
            height: 10px;
            position: absolute;
            background-color: blue;
        }
    </style>
</head>
<body>
    <script>
        var div = document.getElementsByTagName('div')
        var i =0
        document.onmousemove=function(event){
            var e =event||window.event
           var t= document.createElement('div')
            document.body.appendChild(t)
            
            
            t.style.left=e.clientX+'px'
            t.style.top=e.clientY+'px'
            
        }
      
    </script>
</body>
</html>